package com;

/**
 * @author :Administrator
 * @description: TODO edit class Description
 * @create date: 2022/4/14 18:52
 */
public class StringTest {

    public void StringTest(){

    }
    public static void main(String[] args) {
        String fpContent="a,b,d,";
        fpContent=fpContent.substring(0,fpContent.length()-1);
        System.out.println(fpContent);

        String sstr="100m";
        String snum = sstr.replaceAll("\\D", "");
        System.out.println(snum);

    }
}
